
	<include file="Common@Public:header"/>
	
		<div class="d-public-nav22">
			<div class="d-public-nav-122">
				<include file="Common@Public:nav"/>
			</div>
			
		</div>
	</div>

	
<div class="sub">
    <div class="subzuo">
     <div class="biaoti">
            <div class="biaoti1"><a>会员注册</a></div>
            <div class="biaoti2">当前位置：{:get_posation($category['id'])}会员注册</div>
        	<div class="clearfix"></div>
        </div>
        <div class="about">
        	
            <div class="middle">
		<div>
			<div class="personal_z">
			

			 <form action="/User/Public/register.html" method="post" class="am-form am-form-horizontal"  onSubmit="return myCheck()" name="form">
                <table width="814" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#f5f5f5">
                                               
                                                    <tr>
                                                        <td height="35" colspan="4" align="left" bgcolor="#ffffff">
                                                            &nbsp;带有 (<span style="color: Red">*</span>) 为必填项</td>
                                                  </tr>
                                                    <tr>
                                                        <td width="112"  align="left" bgcolor="#ffffff">
                                                            <span style="color: red">&nbsp;*</span>登录账号</td>
                                                        <td colspan="2"   align="left" bgcolor="#FFFFFF"><label for="username"></label> 
                                                      <input name="username" type="text" id="username" size="30"  style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;"/></td>
                                                        <td width="380"   bgcolor="#FFFFFF" >   <span style="width: 226px"> &nbsp;&middot;由字母a～z(不区分大小写)、数字0～9、或下划线组成<br />
  &nbsp;&middot;只能以字母开头和，例如：beijing_2008<br />
  &nbsp;&middot;用户名长度为5～20个字符 </span></td>
                                                    </tr>
                                                    <tr>
                                                      <td align="left" bgcolor="#FFFFFF">
                                                            <span style="color: red">&nbsp;*</span>登录密码</td>
                                                        <td height="35" colspan="2" align="left" bgcolor="#FFFFFF"><input name="password" type="password" id="password"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/>
                                                </td>
                                                        <td rowspan="2" align="left" bgcolor="#FFFFFF">
                                                            &nbsp;·由<em>字母a～z</em>(区分大小写)、<em>数字0～9</em>、或<em>下划线</em>组成<br>
                                                      &nbsp;·密码长度6～16位，字母区分大小写</td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" bgcolor="#FFFFFF">
                                                            <span style="color: red">&nbsp;*</span>重复密码</td>
                                                        <td height="35" colspan="2" align="left" bgcolor="#FFFFFF" ><input name="repassword" type="password" id="repassword"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/>
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" bgcolor="#FFFFFF">
                                                            <span style="color: red">&nbsp;*</span>真实姓名</td>
                                                        <td height="35" colspan="2" align="left" bgcolor="#FFFFFF">
                                                       <input name="truename" type="text" id="truename"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/></td>
                                                        <td align="center" bgcolor="#FFFFFF">&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF">
                                                            <span style="color: red">&nbsp;*</span>电子邮箱</td>
                                                        <td height="35" colspan="2" align="left"  bgcolor="#FFFFFF" ><input name="email" type="text" id="email"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/>
                                                  </td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF">
                                                            <span style="color: red">&nbsp;*</span>证件号码</td>
                                                        <td height="35" colspan="2" align="left" bgcolor="#FFFFFF" ><input name="position" type="text" id="position"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/>
                                                </td>
                                                        <td align="left" bgcolor="#FFFFFF" >
                                                            &nbsp;·请填写你的有效身份证件（注：注册之后不可更改。）</td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" bgcolor="#FFFFFF">
                                                            <span style="color: red">&nbsp;*</span>联系电话</td>
                                                        <td height="35" colspan="2" align="left" bgcolor="#FFFFFF" ><input name="mobile" type="text" id="mobile"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
                                                </td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" colspan="4" align="left" bgcolor="#FFFFFF">
                                                            &nbsp;以下信息为选填项</td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF">
                                                            &nbsp;性别</td>
                                                        <td colspan="2" align="left" bgcolor="#FFFFFF" >&nbsp;<input name="sex" type="radio" value="0" checked="checked" />
                                                        &nbsp;男&nbsp;<input name="sex" type="radio" value="1" />
                                                        &nbsp;女</td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF">
                                                            &nbsp;出生日期</td>
                                                        <td colspan="2" align="left" bgcolor="#FFFFFF" >
                                                     
                                                      <input name="birthday" type="text" id="birthday"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/></td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF">
                                                    &nbsp;手机通讯</td>
                                                        <td colspan="2" align="left" bgcolor="#FFFFFF" ><input name="motel" type="text" id="motel"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/></td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF">
                                                            &nbsp;腾讯QQ</td>
                                                        <td colspan="2" align="left" bgcolor="#FFFFFF" ><input name="qq" type="text" id="department"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/>
                                                </td>
                                                        <td align="left" bgcolor="#FFFFFF">&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF" style="height: 31px;">
                                                      &nbsp;联系地址</td>
                                                        <td colspan="2" align="left" bgcolor="#FFFFFF" ><input name="department" type="text" id="department"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/>
                                              </td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td height="35" align="left" bgcolor="#FFFFFF">
                                                            &nbsp;邮政编码</td>
                                                        <td colspan="2" align="left" bgcolor="#FFFFFF"><input name="postcode" type="text" id="	postcode"   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;" size="30"/>
                                                </td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" bgcolor="#FFFFFF">
                                                            &nbsp;个性签名</td>
                                                        <td height="60" colspan="2" align="left" bgcolor="#FFFFFF"><textarea name="signature" cols="30" rows="3" id="signature" style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;"></textarea>
                                                  </td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                     <tr>
                                                        <td align="left" bgcolor="#FFFFFF">验证码</td>
                                                        <td width="108" height="60" align="left" bgcolor="#FFFFFF">&nbsp;&nbsp;<img class="verifyimg reloadverify" alt="点击切换" src="{:U('verify')}" style="cursor:pointer; height:36px; "></td>
                                                        <td width="195" align="left" bgcolor="#FFFFFF"><input   name="verify"  placeholder="请输入验证码"  errormsg="请填写5位验证码" nullmsg="请填写验证码" datatype="*5-5"   id="verify"   size="6" maxlength="4"  this.style.background="#ffffff" style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left; width:100px; height:26px;"/></td>
                                                        <td align="left" bgcolor="#FFFFFF" >&nbsp;
                                                      </td>
                                                    </tr>
                                                      <tr>
                                                        <td height="60" colspan="4" align="center" bgcolor="#FFFFFF"><input name="Register" type="hidden" id="Register" value="regnow" /><input type="submit" name="submit" id="submit" value="&nbsp;注册帐号&nbsp;" /></td>
                                                    </tr>
                                                </table>
			  </form>
			</div>

			<div style="clear: both;"></div>
		</div>
		</div>
<script type="text/javascript">
	$(document)
		.ajaxStart(function(){
			
			$("button:submit").addClass("am-btn-loading").attr("disabled", true).text('loading...');
		})
		.ajaxStop(function(){
			
			$("button:submit").removeClass("am-btn-loading").attr("disabled", false).text('注 册');
		});


/*	$("form").submit(function(){
		var self = $(this);
		$.post(self.attr("action"), self.serialize(), success, "json");
		return false;

		function success(data){
			if(data.status){
				window.location.href = data.url;
			} else {
				self.find(".Validform_checktip").addClass('am-alert').text(data.info);
				setTimeout(function(){
					self.find(".Validform_checktip").removeClass('am-alert').text('');
				},3000);
				//刷新验证码
				$(".reloadverify").click();
			}
		}
	});*/

	$(function(){
		var verifyimg = $(".verifyimg").attr("src");
        $(".reloadverify").click(function(){
            if( verifyimg.indexOf('?')>0){
                $(".verifyimg").attr("src", verifyimg+'&random='+Math.random());
            }else{
                $(".verifyimg").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
            }
        });
	});
</script>



          
        </div>
    </div>
    
    <include file="Common@Public:userleft"/>
    
    
    
    <div class="clearfix"></div>
</div>

	<!-- 公共底部 -->
	<include file="Common@Public:footer"/>
</body>
</html>